package resturant;

import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import java.util.TreeMap;
import java.util.TreeSet;

public class OrderCollection implements Iterable<OrderItem> { 
	private Collection<OrderItem> order;

	public OrderCollection(TreeMap<OrderItem, String> _order){
		order = _order.keySet();		
	}
	
    public Iterator<OrderItem> iterator() {        
        Iterator<OrderItem> iorder = order.iterator();
        return iorder; 
    }

}